package com.chushouya.manager.dto.admin.bonus;

import com.general.framework.core.schema.PageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
@ApiModel("红包查询")
public class BonusQuery extends PageRequest {
    @ApiModelProperty("红包状态 1-未使用 2-已使用 3-已过期")
    private Integer bonusStatus;

    @ApiModelProperty("产品id")
    private Long productId;

    @ApiModelProperty("分类id")
    private Long categoryId;

    @ApiModelProperty("金额")
    private BigDecimal amount;

    @ApiModelProperty("appid")
    private String appId;

    @ApiModelProperty("红包类型")
    private Integer bonusType;

    @ApiModelProperty("类型id")
    private Long typeId;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("红包id")
    private Long bonusId;
}
